﻿/**
 *
 * @file   FITKHDF5AbstractAdaptor.h
 * @brief  抽象的HDF5文件读写适配器
 * @author fulipeng (flipengqd@yeah.net)
 * @date   2024-04-10
 *
 */
#ifndef _FITKABAQUSABSTRACTADAPTOR_R_H__
#define _FITKABAQUSABSTRACTADAPTOR_R_H__

#include "FITKAbaqusIOHDF5API.h"
#include "FITK_Kernel/FITKAdaptor/FITKAbstractIOAdaptor.h"
#include "FITK_Interface/FITKInterfaceIOHDF5/FITKAbstractHDF5Adaptor.h"
#include "H5Cpp.h"

namespace IO
{
    class FITKHDF5Reader;
    class FITKHDF5Writer;

    /**
     * @brief 抽象的HDF5文件读写适配器
     * @author fulipeng (fulipengqd@yeah.net)
     * @date 2024-03-15
     */
    class FITKABAQUSIOHDF5API FITKAbaqusHDF5AbstractAdaptor : public FITKAbstractHDF5Adaptor
    {
        FITKCLASS(IO, FITKAbaqusHDF5AbstractAdaptor);

    public:
        explicit FITKAbaqusHDF5AbstractAdaptor() = default;
        virtual ~FITKAbaqusHDF5AbstractAdaptor() = default;

        /**
         * @brief 输出消息
         * @param errorLevel等级
         * @param str 输出内容
         * @author fulipeng (fulipengqd@yeah.net)
         * @date 2024-03-15
         */
        void consoleMessage(int errorLevel, QString str);

    };
}


#endif
